package com.lijiaxing.service.impl;

import com.lijiaxing.mapper.menuMapper;
import com.lijiaxing.service.menuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class menuServiceImpl implements menuService {
    @Autowired
    menuMapper um;

    @Override
    public String getUserPermission(Integer pid) {
        String userPermission = um.getUserPermission(pid);
        return userPermission;
    }
}
